package com.softqin.washer.db;

public class WashDB {
	//数据库名称
	public static final String DB_NAME = "wash";
	//数据库版本号
	public static final int DB_VERSION = 1; 
	
	
	public class ADDRESS_TB  {
		public static final String TABLE_NAME = "address";
		public static final String TOKEN_ID = "tokenid";
		public static final String ADDRESS = "address";
		public static final String DRIVER_ID = "driver_id";
	}
	
	public class CAR_TB {
		public static final String TABLE_NAME = "car";
		public static final String TOKEN_ID = "tokenid";
		public static final String DRIVER_ID = "driver_id";
		public static final String NUMBER = "number";
		public static final String TYPE = "type";
		public static final String BRAND = "brand";
		public static final String COLOR = "color";
		public static final String PIC = "pic";
		public static final String BUYDATE = "buydate";
	}
	
	public class BUSINESS_TB {
		public static final String TABLE_NAME = "business";
		public static final String TOKEN_ID = "tokenid";
		public static final String PHONE = "phone";
		public static final String NAME = "name";
		public static final String QQ = "qq";
		public static final String SEX = "sex";
		public static final String EMAIL = "email";
		public static final String AGE = "age";
		public static final String ADDRESS = "address";
		public static final String CREATED_TIME = "createedtime";
		public static final String STATUS = "status";
		public static final String LATITUDE = "latitude";
		public static final String LONGTITUDE = "longtitude";
	}
	
	public class SERVICE_TB {
		public static final String TABLE_NAME = "service";
		public static final String TOKEN_ID = "tokenid";
		public static final String BUSINESS_ID = "business_id";
		public static final String CONTENT = "content";
		public static final String PICS = "pics";
		public static final String PRICE = "price";
	}
	
	public class ORDER_TB {
		public static final String TABLE_NAME = "orders";
		public static final String TOKEN_ID = "tokenid";
		public static final String SERVICE_ID = "service_id";
		public static final String DRIVER_ID = "driver_id";
		public static final String BUSINESS_ID = "business_id";
		public static final String CAR_ID = "car_id";
		public static final String ADDRESS_ID = "address_id";
		public static final String CREATEDDATE = "createdDate";
		public static final String DESCRIPTION = "description";
	}
	
	public class RECHARGE_RECORD_TB {
		public static final String TABLE_NAME = "recharge_record";
		public static final String TOKEN_ID = "tokenid";
		public static final String DRIVER_ID = "driver_id";
		public static final String MONEY = "money";
		public static final String CREATEDDATE = "createdDate";
		public static final String DESCRIPTION = "description";
	}
	
	public class COMMENT_TB {
		public static final String TABLE_NAME = "comment";
		public static final String TOKEN_ID = "tokenid";
		public static final String ORDER_ID = "order_id";
		public static final String DRIVER_ID = "driver_id";
		public static final String BUSINESS_ID = "business_id";
		public static final String COMMENT = "comment";
		public static final String NAME = "name";
		public static final String CREATETIME = "createTime";
	}
}
